package com.common.utils;

public class SystemConstants {

	public static final String SYSTEM_LOGIN_FLAG = "SYSTEM_LOGIN_FLAG"; //系统熔断常量；
	public static final String SESSIONNAME = "FREE_CURRENT_USER"; //session用户标示；
	public static final String SESSIONNAME_OBJECT = "FREE_CURRENT_USER_OBJ"; //session用户标示；

	//非管理员角色提交申请状态；
	public static final String SZZT_YLU_DTJ = "10"; //已录入待提交审核（待提交）；后面可放按钮：提交审核
	public static final String SZZT_YTJ_DSH = "20"; //已提交待审核（待审核）；后面可放按钮：审核通过、退回
	public static final String SZZT_YSH_DFB = "30"; //已审核待发布（待发布），是否审核通过自动发布？；后面可放按钮：审核通过、退回
	public static final String SZZT_YSH_YTH = "40"; //已审核退回（已退回）；后面可放按钮：提交审核
	public static final String SZZT_YSH_YFB = "50"; //已审核已发布（已生效）；后面可放按钮：失效
	public static final String SZZT_YSH_YSX = "60"; //已审核已失效（已失效）；后面可放按钮：无按钮；
	//管理员角色申请状态：30：已审核待发布，50：已审核已发布；
	public static final String SZZT_GLY_DFB = "30"; //已审核待发布（待发布）；后面可放按钮：发布
	public static final String SZZT_GLY_YFB = "50"; //已审核待发布（已生效）；后面可放按钮：失效
	public static final String SZZT_GLY_YSX = "60"; //已审核已失效（已失效）；后面可放按钮：无按钮

	/*6家金融机构接口开关标志*/
	public static boolean SYSTEM_RD = false; //系统熔断标示，默认为false=关闭熔断，可设置为true=开启熔断；

	/*6家金融机构接口开关标志*/
	public static boolean BANK1_INTERFACE_SWITCH = false; //银行1接口开关标示，默认为false:开，可设置为true：关闭；
	public static boolean BANK2_INTERFACE_SWITCH = false; //银行2接口开关标示，默认为false:开，可设置为true：关闭；
	public static boolean BANK3_INTERFACE_SWITCH = false; //银行3接口开关标示，默认为false:开，可设置为true：关闭；
	public static boolean BANK4_INTERFACE_SWITCH = false; //银行4接口开关标示，默认为false:开，可设置为true：关闭；
	public static boolean BANK5_INTERFACE_SWITCH = false; //银行5接口开关标示，默认为false:开，可设置为true：关闭；
	public static boolean BANK6_INTERFACE_SWITCH = false; //银行6接口开关标示，默认为false:开，可设置为true：关闭；

	/*6家金融机构标志*/
	public static String BANK1_FLAG = "MSYH"; //银行1
	public static String BANK2_FLAG = "ZGYH"; //银行2；
	public static String BANK3_FLAG = "PFYH"; //银行3；
	public static String BANK4_FLAG = ""; //银行4；
	public static String BANK5_FLAG = ""; //银行5；
	public static String BANK6_FLAG = ""; //银行6；

	//类型code，交易主体类型code， ERP or BANK
	public static String TYPE_CODE_ERP = "ERP"; //ERP1；
	public static String TYPE_CODE_BANK = "BANK"; //ERP1；


	/*3家ERP开关标志*/
	public static boolean ERP1_INTERFACE_SWITCH = false; //ERP1接口开关标示，默认为false:开，可设置为true：关闭；
	public static boolean ERP2_INTERFACE_SWITCH = false; //ERP2接口开关标示，默认为false:开，可设置为true：关闭；
	public static boolean ERP3_INTERFACE_SWITCH = false; //ERP3接口开关标示，默认为false:开，可设置为true：关闭；

	/*3家ERP标志*/
	public static String ERP1_FLAG = "HCBM"; //ERP1；
	public static String ERP2_FLAG = "ZTTYN"; //ERP2；
	public static String ERP3_FLAG = "HTHX"; //ERP3;

	//熔断后可登录用户
	public static String SYSTEM_RD_MANAGER = "xtrdcjgly@tajg";  //此处不能写注释；

	//交易类型；发送 or 接收
	public static String TRANS_TYPE_RECEIVE = "receive";  //收到数据
	public static String TRANS_TYPE_SEND = "send";  //发送数据

	//接收数据流水ERP交易码
	public static String RECEIVE_ERP_OPERATION_CUSTOMER = "receive_erp_customer"; //；
	public static String RECEIVE_ERP_OPERATION_CREDIT = "receive_erp_credit"; //；
	public static String RECEIVE_ERP_OPERATION_DEBT_CONFIRM = "receive_erp_debt_confirm"; //;
	public static String RECEIVE_ERP_OPERATION_PAY = "receive_erp_pay"; //;
	public static String RECEIVE_ERP_OPERATION_OTHER = "receive_erp_other"; //;

	//接收数据流水BANK交易码
	public static String RECEIVE_BANK_OPERATION_CREDIT = "receive_bank_credit"; //；
	public static String RECEIVE_BANK_OPERATION_LOAN_RESULT = "receive_bank_loan_result"; //；
	public static String RECEIVE_BANK_OPERATION_LOAN_BATCH = "receive_bank_loan_batch"; //;
	public static String RECEIVE_BANK_OPERATION_CONFIRM = "receive_bank_confirm"; //;
	public static String RECEIVE_BANK_OPERATION_CUSTOMER = "receive_bank_customer"; //;
	public static String RECEIVE_BANK_OPERATION_FEE = "receive_bank_fee"; //;
	public static String RECEIVE_BANK_OPERATION_PAY = "receive_bank_pay"; //;

	//发送数据流水ERP交易码
	public static String SEND_ERP_OPERATION_CUSTOMER_FIND = "send_erp_customer_find"; //；
	public static String SEND_ERP_OPERATION_DEBT = "send_erp_debt"; //；
	public static String SEND_ERP_OPERATION_LOAN = "send_erp_loan"; //;
	public static String SEND_ERP_OPERATION_SHARE = "send_erp_share"; //; //服务费分成；
	public static String SEND_ERP_OPERATION_OTHER = "send_erp_other"; //;

	//发送数据流水BANK交易码
	public static String SEND_BANK_OPERATION_CUSTOMER = "send_bank_customer"; //；
	public static String SEND_BANK_OPERATION_MORG = "send_bank_morg"; //；
	public static String SEND_BANK_OPERATION_DEBT = "send_bank_debt"; //;
	public static String SEND_BANK_OPERATION_LOAN_APPLY = "send_bank_loan_apply"; //;
	public static String SEND_BANK_OPERATION_OTHER = "send_bank_other"; //;

	//发送数据状态码常量;状态：60：已发送；61：发送成功；62：发送失败；
	public static String SEND_STATUS_YFS = "60"; //;
	public static String SEND_STATUS_FSCG = "61"; //;
	public static String SEND_STATUS_FSSB = "62"; //;

	//接收数据状态码常量;状态：00:接收成功；01：处理成功；02：处理失败；03：其它；
	public static String RECEIVE_STATUS_JSCG = "00"; //;
	public static String RECEIVE_STATUS_CLCG = "01"; //;
	public static String RECEIVE_STATUS_CLSB = "02"; //;
	public static String RECEIVE_STATUS_QT = "03"; //;



}
